<template>
  <div class="colors-container" :style="{ backgroundColor: `${color}` }" />
</template>

<script>

export default {
  props: {
    color: String
  },
  data() {
    const color = {
      backgroundColor: this.color
    }
    return { color }
  },
}
</script>

<style scoped lang="scss">
.colors-container {
  width: 23%;
  height: 28px;
  margin: 0 9px;
  box-shadow: 1px 1px 6px #cccccc;
}
</style>
